﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;

namespace MemoLib
{
    public class DBContext : DbContext
    {
        public DBContext() : base() { }
        public DBContext(string nameOrCOnnectionString) : base(nameOrCOnnectionString) { }

        public DbSet<MemoCategory> MemoCategory { get; set; }
        public DbSet<MemoConfig> MemoConfig { get; set; }
        public DbSet<MemoItem> MemoItem { get; set; }
    }
}
